﻿<div class="right_header">
@if (Session[BackEnd.Common.Constants.SessionKeys.UserInfo]!=null) {
    <text>
        Welcome , @Html.ActionLink(Session[BackEnd.Common.Constants.SessionKeys.UserInfo].ToString(), "ChangePassword", "Account", routeValues: null, htmlAttributes: new { title = "Click to change your password" })!        
        | <a href="/Account/LogOff" class="logout">Log off</a>        
    </text>
} else {
    <ul>
        <li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
    </ul>
}
</div>

